#include "kt1.h"

#include <iostream>
using namespace std;

void PrintAndDouble(A o) {
    cout << o.v;
    cout << endl;
}

int main() {
    A a(5);
    PrintAndDouble(a);
    A b = a;
    PrintAndDouble(b);
    A c = 20;
    PrintAndDouble(c);
    A d;
    d = a;
    cout << d.v;
    return 0;
}